import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import shop from './modules/shop'
import username from '@/store/modules/username'
import death from '@/store/modules/death'
import upone from '@/store/modules/upone'
import change from "@/store/modules/change"
import box from '@/store/modules/box'
import boxchange from '@/store/modules/boxchange'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    shop,
    username,
    death,
    upone,
    change,
    box,
    boxchange
  },
  getters
})

export default store
